import request from '@/utils/request'

const api_name = `/platformapi/sms`

export default {
  sendCode(mobile) {
    return request({
      url: `${api_name}/send/${mobile}`,
      method: `post`
    })
  },
  sendUserCode(userAuah) {
    return request({
      url: `${api_name}/sendUser`,
      method: 'post',
      data: userAuah
    })
  }
}
